package com.bp.hearthealth.pulse.lnapps.ads.topon.rewarded_ad.manual_load

import android.content.Context
import com.anythink.core.api.ATAdInfo
import com.anythink.core.api.ATNetworkConfirmInfo
import com.anythink.core.api.AdError

interface TopOnRewardVideoAdListener {
    fun onDeeplinkCallback(adInfo: ATAdInfo, isSuccess: Boolean) {}

    fun onDownloadConfirm(
        context: Context?, adInfo: ATAdInfo, networkConfirmInfo: ATNetworkConfirmInfo?
    ) {
    }

    //-------------------------- Only for CSJ --------------------------
    fun onRewardedVideoAdAgainPlayStart(entity: ATAdInfo) {}

    fun onRewardedVideoAdAgainPlayEnd(entity: ATAdInfo) {}

    fun onRewardedVideoAdAgainPlayFailed(errorCode: AdError, entity: ATAdInfo?) {}

    fun onRewardedVideoAdAgainPlayClicked(entity: ATAdInfo) {}

    fun onAgainReward(entity: ATAdInfo) {}

    //-------------------------- Only for CSJ --------------------------
    fun onRewardedVideoAdLoaded() {}

    fun onRewardedVideoAdFailed(errorCode: AdError) {}

    fun onRewardedVideoAdPlayStart(entity: ATAdInfo) {}

    fun onRewardedVideoAdPlayEnd(entity: ATAdInfo) {}

    fun onRewardedVideoAdPlayFailed(errorCode: AdError, entity: ATAdInfo) {}

    fun onRewardedVideoAdClosed(entity: ATAdInfo) {}

    fun onRewardedVideoAdPlayClicked(entity: ATAdInfo) {}

    fun onReward(entity: ATAdInfo) {}

    fun onFireBaseAdIsClosed() {}
    fun onNotReady() {}

}